package cn.com.dcsgo.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * UserLoginDTO
 *
 * @author Dcsgo
 * @since 20/5/2025 下午 3:26
 */
@Data
@Schema(description = "用户登录")
public class UserLoginDTO {
    @Schema(description = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;

    @Schema(description = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @Schema(description = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;
}
